﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.UI;

namespace Library.WebControls {
	[ParseChildren(false)]
	public class SpListItem {
		private string _value;
		[PersistenceMode(PersistenceMode.Attribute)]
		public string Value {
			get {
				if (_value == null) _value = String.Empty;
				return _value;
			}
			set { _value = value; }
		}
		[PersistenceMode(PersistenceMode.Attribute)]
		public string Text { get; set; }
		[PersistenceMode(PersistenceMode.Attribute)]
		public bool Selected { get; set; }
	}
}
